Well I got the Decaptcher API working, but can't save the captcha image, when i try to load it to picturebox1 with any of this codesorCode:PictureBox1.Load(WebBrowser1.Document.GetElementById("captcha").Parent.Parent.GetElementsByTagName("img")(0).GetAttribute("src"))
this 2 codes getting the src of the image but I see different captcha than the one i see at the webbrowser1Code:* For Each ImgElement As HtmlElement In WebBrowser1.Document.Images ** * * * * *Dim b = ImgElement.GetAttribute("SRC") ** * * * * *If b.Contains("/captcha/") Then ** * * * * * * *PictureBox1.Load(b) ** * * * * *End If ** * * *Next
(it works with FF or IE to go to the SRC and see same captcha)
any way i think picturebox1.load fucks it up is there a way to download right away from webbrowser1? make it work, how?
I just need to have the captcha in picturebox1 (then i save it)
or just save it (c:\blabla\captcha.jpg)


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks